package observerpattern;

/**
 * 被观察者
 * Created by hongc on 2017/2/26 0026.
 */
public interface Subject {
    //attach detach notify

    public void attach(Observer observer);

    public void detach(Observer observer);

    public void notifyObservers();


}
